package com.my.main.service.sysConfig.serviceImpl;

import com.my.main.base.mapper.BaseMapper;
import com.my.main.base.service.Impl.BaseServiceImpl;
import com.my.main.entity.sysConfig.SysConfig;
import com.my.main.mapper.sysConfig.SysConfigMapper;
import com.my.main.service.sysConfig.SysConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
@Transactional
public class SysConfigServiceImpl extends BaseServiceImpl<SysConfig> implements SysConfigService {
    @Autowired
    private SysConfigMapper sysConfigMapper;
    @Resource(name= "sysConfigMapper")
    public void setBaseMapper(BaseMapper<SysConfig> sysConfigMapper) {
        super.setBaseMapper(sysConfigMapper);
    }
}
